package jf.jextn.util;

public class ImmutableSimpleEntry<K, V> extends SimpleEntry<K, V> {
    private static final long serialVersionUID = -4925750959068393120L;

    public ImmutableSimpleEntry(K key, V value) {
        super(key, value);
    }

    public V setValue(V value) {
        throw new UnsupportedOperationException("value can not be change (immutable entry)");
    }
}
